package com.iot.common.core.domain.mqtt;

public class Payload {

	private String identifier;
	private long timestamp;
	private String method;
	private String content;

	public String getIdentifier() {
		return identifier;
	}

	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "MQTTMessage [identifier=" + identifier + ", timestamp=" + timestamp + ", method=" + method
				+ ", content=" + content + "]";
	}

}
